package com.ruoyi.service.company.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.service.company.entity.CompanyEntity;
import com.ruoyi.service.company.query.CompanyBaseQuery;
import java.util.List;
import java.util.Map;
import javax.validation.constraints.NotNull;

/**
 * <p>
 * 公司注册信息表 服务类
 * </p>
 *
 * @author Zane
 * @since 2025-10-04
 */
public interface CompanyService extends IService<CompanyEntity> {

  boolean companyExist(@NotNull(message = "统一社会信用码不能为空") String usci);

  CompanyEntity getByManager(Long userId);

  String getNameById(Long comId);

  Long countCompany();

  Long getCompanyApproval();

  List<CompanyEntity>  selectListNeedCheck(CompanyBaseQuery query);

  Map<Long,CompanyEntity> getMapByIds(List<Long> ids);
}
